package edu.whut.mall.pojo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.whut.mall.pojo.model.Merchant;
import edu.whut.mall.common.vo.MerchantVo;


/**
 * Author: smq
 * Unit: D9lab
 * Date: 2021-06-15 11.22
 */
public interface MerchantMapper extends BaseMapper<Merchant> {
    /**
     * 通过商家id查询商家信息
     * @param id
     * @return
     */
    MerchantVo getMerchant(int id);
}
